package chapter5;

public class sort11课后练习2 {
    public static void main(String[] args) {
        System.out.println(getMax(3,17,10));
    }

    public static int getMax(int a, int b, int c) {
        int temp = a > b ? a : b;
        int max = temp > c ? temp : c ;
        return max;
    }
}

